﻿using Logistics.Model;
using Logistics_Dao;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Logistics.Service
{
    public class CompanySaleService
    {
        private CompanySaleDao dao = new CompanySaleDao();
        public IEnumerable<wuliu_company_sales> GetSales(int account_id)
        {
            return dao.GetSales(account_id);
        }

        public void Add(wuliu_company_sales sale)
        {
            dao.Add(sale);
        }
    }
}
